package cate.common.table.activity.hotselling.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.hotselling.row.HotSellingCombinationRow;

public class HotSellingCombinationSheet extends ESheet<HotSellingCombinationRow> {
    @Override
    public String getSheetName() {
        return "活动配置";
    }

    public HotSellingCombinationRow getRowByOpenDay(int openDay) {
        for (HotSellingCombinationRow row :
                getList()) {
            if (row.openDay == openDay) {
                return row;
            }
        }
        return null;
    }
}
